export class Teacher {

    id?: number;
    username?: string;
    headimg?: string;
    tyear?: string;
    dyear?: string;
    passper?: string;
    content?: string;


    constructor(id: number, username: string, headimg: string, tyear: string, dyear: string, passper: string, content: string) {
        this.id = id;
        this.username = username;
        this.headimg = headimg;
        this.tyear = tyear;
        this.dyear = dyear;
        this.passper = passper;
        this.content = content;
    }
}
